//
//  CXBroadcastViewModel.h
//  XiMaFM
//
//  Created by hcios on 2017/9/2.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "BaseViewModel.h"
#import "CXBroadcastModel.h"

@interface CXBroadcastViewModel : BaseViewModel

@property(nonatomic,strong)CXBroadcastModel * model;///<

@property(nonatomic,assign)NSInteger categoriesCount;


- (NSString *)mainTitleWithSection:(NSInteger)section ;

// section : 组数,
//index : 按钮下标
// 图片
- (NSURL *)coverURLWithSection:(NSInteger)section index:(NSInteger)index;

// 标题
- (NSString *)nameWithSection:(NSInteger)section index:(NSInteger)index;

// programName
- (NSString *)programNameWithSection:(NSInteger)section index:(NSInteger)index;

// 评论人数
- (NSInteger)playCountWithSection:(NSInteger)section index:(NSInteger)index;

//标题
- (NSString *)nameWithIndex:(NSInteger)index;

@end
